package com.h2n.framework.dao;

import com.h2n.framework.dto.MemberDTO;

import java.util.List;

/**
 * Created by IntelliJ IDEA.
 * User: NhatNV
 * Date: Sep 11, 2009
 * Time: 11:44:11 PM
 * To change this template use File | Settings | File Templates.
 */
public interface IMemberDAO {
  public long insert(MemberDTO _memberDTO) throws Exception;
  public void update(MemberDTO _memberDTO) throws Exception;
  public void delete(int _memberId) throws Exception;
  public MemberDTO getInfo(int _memberId) throws Exception;
  public MemberDTO getInfo(String _userName,String _password) throws Exception;
  public List<MemberDTO> getAll() throws Exception;
}
